package com.anhuanjia.tools.eao.bean;

import java.util.Date;

import com.efastsoft.framework.annotation.dao.Column;
import com.efastsoft.framework.annotation.dao.Indexes;
import com.efastsoft.framework.annotation.dao.Table;
import com.efastsoft.framework.data.DataType;
import com.efastsoft.framework.orm.DAO;
import com.efastsoft.framework.utility.DateUtil;

/**
* 用户标记开启哪个系统
* @author ختم
* @date 2018-12-20
*/
@Table("ahj_member_remark")
@Indexes("")
@SuppressWarnings("serial")
public class AhjMemberRemark extends DAO<AhjMemberRemark> {
	
	@Column(type = DataType.LONG, precision = 0, mandatory = true, pk = true)
	protected Long ID;

	@Column(type = DataType.STRING, length = 500)
	protected String RemarkMember;

	@Column(type = DataType.STRING, length = 255)
	protected String Prop1;

	@Column(type = DataType.STRING, length = 255)
	protected String Prop2;

	@Column(type = DataType.DATETIME)
	protected Date AddTime;
	
	@Column(type = DataType.DATETIME)
	protected Date ModifyTime;
	
	public Long getID() {
		if(this.ID == null)
			return 0L;
		return this.ID;
	}

	public void setID(Long iD) {
		this.ID = iD;
	}

	public void setID(String iD) {
		if(iD == null) {
			this.ID = null;
			return;
		}
		this.ID = Long.valueOf(iD);
	}

	public String getRemarkMember() {
		return this.RemarkMember;
	}

	public void setRemarkMember(String remarkMember) {
		this.RemarkMember = remarkMember;
	}

	public String getProp1() {
		return this.Prop1;
	}

	public void setProp1(String prop1) {
		this.Prop1 = prop1;
	}

	public String getProp2() {
		return this.Prop2;
	}

	public void setProp2(String prop2) {
		this.Prop2 = prop2;
	}

	public Date getAddTime() {
		return this.AddTime;
	}

	public void setAddTime(Date addTime) {
		this.AddTime = addTime;
	}

	public void setAddTime(String addTime) {
		if(addTime == null) {
			this.AddTime = null;
			return;
		}
		this.AddTime = DateUtil.parseDateTime(addTime);
	}
	
	public Date getModifyTime() {
		return this.ModifyTime;
	}

	public void setModifyTime(Date modifyTime) {
		this.ModifyTime = modifyTime;
	}

	public void setModifyTime(String modifyTime) {
		if(modifyTime == null) {
			this.ModifyTime = null;
			return;
		}
		this.ModifyTime = DateUtil.parseDateTime(modifyTime);
	}

}